import { request } from '@/utils/request';

import { PageParams } from './model/pageParams';

const insertApi = (params: any) =>
  request.post({
    url: '/supplier/application/insert',
    data: params,
  });
const page = (params: PageParams) =>
  request.post({
    url: '/supplier/application/page',
    data: params,
  });

// 审核
const auditApi = (params: any) =>
  request.post({
    url: '/supplier/application/audit',
    data: params,
  });

export { auditApi, insertApi, page };
